#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_PlayerLevelUp.nanopb.h"
#ifndef MAX_PLAYERLEVELUP_PLAYERLEVELUP_NUM
#define MAX_PLAYERLEVELUP_PLAYERLEVELUP_NUM 110
#endif

class PlayerLevelUpDesc : public NFI_DESC_TEMPLATE_MACRO(PlayerLevelUpDesc, E_PlayerLevelUp, EOT_CONST_PLAYERLEVELUP_PLAYERLEVELUP_DESC_ID, MAX_PLAYERLEVELUP_PLAYERLEVELUP_NUM)
public:
	PlayerLevelUpDesc();
	virtual ~PlayerLevelUpDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
